package com.qixin.api.service;

import com.qixin.api.bean.ComLicenseFile;
import com.qixin.api.bean.ComPlaycarFile;
import com.baomidou.mybatisplus.service.IService;
import com.qixin.api.bean.FileResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 公用驾驶证文件表 服务类
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-10-29
 */
public interface ComPlaycarFileService extends IService<ComPlaycarFile> {
    FileResult upload(MultipartFile file, ComPlaycarFile comFile);


    //查询出来comFile表中relation_id是空的
    List<ComPlaycarFile> selectnull();
    //删除
    boolean deleteRelationId();
}
